import { OnlineRewardCfgBase } from "./Sheets"
import { SheetManager } from "../../ccc3-framework-core/framework/modules/sheetManager";
export class OnlineRewardCfg extends OnlineRewardCfgBase {
  //id索引
  public static get(id: any) {
    if ((this as any)[id]) return (this as any)[id];
    return SheetManager.get("OnlineRewardCfg", id, OnlineRewardCfg);
  }
  public static getAll(): OnlineRewardCfg[] {
    return SheetManager.getAllSheets("OnlineRewardCfg", OnlineRewardCfg);
  }

}